package org.wu.framework.authorization.platform.domain.model.sys.permission;

import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;
import java.lang.Long;
import java.lang.Boolean;
import java.lang.String;

/**
 * describe 系统权限
 *
 * @author Jia wei Wu
 * @date 2025/08/03 01:55 下午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomain
 **/
@Data
@Accessors(chain = true)
@Schema(title = "sys_permission", description = "系统权限")
public class SysPermission {


    /**
     * 创建时间
     */
    @Schema(description = "创建时间", name = "createTime", example = "")
    private LocalDateTime createTime;

    /**
     * 主键
     */
    @Schema(description = "主键", name = "id", example = "")
    private String id;

    /**
     * 是否删除
     */
    @Schema(description = "是否删除", name = "isDeleted", example = "")
    private Boolean isDeleted = false;

    /**
     * 权限方法
     */
    @Schema(description = "权限方法", name = "method", example = "")
    private String method;

    /**
     * 权限路径
     */
    @Schema(description = "权限路径", name = "url", example = "")
    private String url;

    /**
     * 区域ID
     */
    @Schema(description = "区域ID", name = "zoneId", example = "")
    private String zoneId;

}